package com.leen.news.entity;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @author 
 * 门店店员表
 */
@Data
@ToString(callSuper = true)
@ApiModel(value = "门店店员表")
@TableName(value = "yx_system_store_staff")
public class YxSystemStoreStaff implements Serializable {
    @ApiModelProperty(value = "门店店员表ID",example = "0")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 微信用户id
     */
    @ApiModelProperty(value = "微信用户id")
    @TableField(value = "uid")
    private Long uid;

    @ApiModelProperty(value = "昵称")
    @TableField(value = "nickname")
    private String nickname;

    /**
     * 店员头像
     */
    @ApiModelProperty(value = "店员头像")
    @TableField(value = "avatar")
    private String avatar;

    /**
     * 门店id
     */
    @ApiModelProperty(value = "门店id")
    @TableField(value = "store_id")
    private Integer storeId;

    @ApiModelProperty(value = "商店名称")
    @TableField(value = "store_name")
    private String storeName;

    /**
     * 店员名称
     */
    @ApiModelProperty(value = "店员名称")
    @TableField(value = "staff_name")
    private String staffName;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码")
    @TableField(value = "phone")
    private String phone;

    /**
     * 核销开关
     */
    @ApiModelProperty(value = "核销开关")
    @TableField(value = "verify_status")
    private Byte verifyStatus;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    @TableField(value = "status")
    private Byte status;

    /**
     * 添加时间
     */
    @ApiModelProperty(value = "添加时间")
    @TableField(value = "create_time")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_time")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @TableField(value = "is_del")
    private Boolean isDel;

    private static final long serialVersionUID = 1L;
}